Class-D amplifier and method

ABSTRACT

A class-D amplifier includes an analog-to-digital converter (ADC) configured to generate a first digital signal based on an analog input signal and a feedback signal received at an input node. A loop filter is configured to modify the first digital signal by moving an error of the ADC out of a predetermined frequency band, and a compensation filter is configured to further modify the first digital signal by introducing one or more poles or zeros, thereby generating a second digital signal. An output circuit is configured to generate an output signal at an output node based on the second digital signal, and the feedback signal is generated from the output signal.

PRIORITY CLAIM

The present application is a continuation of U.S. application Ser. No. 15/845,218, filed Dec. 18, 2017, which is a continuation of U.S. application Ser. No. 15/079,256, filed Mar. 24, 2016, now U.S. Pat. No. 9,859,855, issued Jan. 2, 2018, which is a continuation of U.S. application Ser. No. 14/300,803, filed Jun. 10, 2014, now U.S. Pat. No. 9,319,011, issued Apr. 19, 2016, which claims the priority of U.S. Provisional Application No. 61/982,074, filed Apr. 21, 2014, which are incorporated herein by reference in their entireties.

BACKGROUND

Amplifiers are classified based on certain operating characteristics. Class-D amplifiers, in contrast to Class-A, Class-B, or Class-AB amplifiers, use the switching modes of transistors to regulate power delivery. Class-D amplifiers are preferred for many applications because the full “on” or full “off” characteristic of the gating signals ensures that the driver portion of the circuit is very power efficient. A Class-D amplifier is often used as a low frequency amplifier due to the high efficiency and low heat dissipation characteristics. An example low frequency amplifier application is an audio amplifier.

In some applications, analog-input Class-D amplifiers are used; however, they require high precision analog components and generally require complicated analog control. However, analog components that are required in some analog-input Class-D amplifier applications, such as the analog integrators and the ramp generators therein, are difficult to be reliably fabricated with sufficient precision in some present day semiconductor manufacturing processes.

BRIEF DESCRIPTION OF THE DRAWINGS

Aspects of the present disclosure are best understood from the following detailed description when read with the accompanying figures. It is noted that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.

FIG. 1 is a circuit diagram of a Class-D amplifier in accordance with some embodiments.

FIG. 2 is a Z-domain block diagram of a Class-D amplifier in accordance with some embodiments.

FIG. 3 is a circuit diagram of a continuous-time delta-sigma analog-to-digital converter (ADC) usable in a Class-D amplifier in accordance with some embodiments.

FIG. 4 is a circuit diagram of a digital-to-analog converter (DAC) usable in a continuous-time delta-sigma ADC in accordance with some embodiments.

FIG. 5 is a flow chart of a method of operating a Class-D amplifier in accordance with some embodiments.

DETAILED DESCRIPTION

The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. For example, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features may be formed between the first and second features, such that the first and second features may not be in direct contact. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.

In some embodiments, a Class-D amplifier has an analog-to-digital converter (ADC) that allows the signal processing operations of the Class-D amplifier to be performed in the digital domain. In at least some embodiments, the signal processing operations are primarily performed in the digital domain. The Class-D amplifier has a feedback path free from a low-pass filtering device that has a cutoff frequency lower than a sampling frequency of the ADC. Also, in some embodiments, the ADC is a continuous-time ADC. As such, in at least some embodiments the need for precise analog circuits in Class-D amplifier is reduced or eliminated.

FIG. 1 is a circuit diagram of a Class-D amplifier 100 in accordance with some embodiments. Class-D amplifier 100 includes an analog-to-digital converter (ADC) 110, a digital filter 120 coupled to ADC 110, a digital pulse width modulation (PWM) unit 130 coupled to digital filter 120, a first pre-driver unit 140A and a second pre-driver unit 140B coupled to digital PWM unit 130, a first Class-D output driver 150A coupled to pre-driver unit 140A, and a second Class-D output driver 150B coupled to pre-driver unit 140B. Class-D amplifier 100 further includes a first feedback unit 160A coupled between ADC 110 and Class-D output driver 150A, a second feedback unit 160B coupled between ADC 110 and Class-D output driver 150B, a coupling resistive device 172A coupled to ADC 110 for receiving a non-inverted analog signal V_(INP), a coupling resistive device 172B coupled to ADC 110 for receiving an inverted analog signal V_(INN), a coupling resistive device 174A between ADC 110 and feedback unit 160A, and a coupling resistive device 174B between ADC 110 and feedback unit 160B. The outputs of Class-D output driver 150A and Class-D output driver 150B are usable to drive a load 180, which is not part of Class-D amplifier 100.

ADC 110 has a non-inverted input node 112A, an inverted input node 112B, and a digital output port 114. ADC 110 receives a non-inverted analog input signal V_(INP) at non-inverted input node 112A through coupling resistive device 172A; and ADC 110 receives an inverted analog input signal V_(INN) at inverted input node 112B through coupling resistive device 172B. Also, ADC 110 receives an inverted feedback signal V_(FBN) at non-inverted input node 112A through coupling resistive device 174A; and ADC 110 receives a non-inverted feedback signal V_(FBP) at inverted input node 112B through coupling resistive device 174B. Feedback signals V_(FBP) and V_(FBN) are generated by feedback units 160A and 160B. ADC 110 generates a first digital signal (represented by a z-domain expression x(z)) at digital output port 114 based on signals V_(INP), V_(INN), V_(FBP), and V_(FBN). Digital output port 114 is an N-bit port, where N is a positive integer. Therefore, the first digital signal x(z) refers to a signal on a single node of port 114 when N equals one, or a collective of signals on N nodes of port 114 when N equals two or greater.

ADC 110 further includes a clock node 116 configured to receive a clock signal CLK. Clock signal CLK is usable as a sampling clock for ADC 110 and has a sampling frequency f_(S). In some embodiments, input analog signals V_(INP) and V_(INN) have a signal bandwidth ranging from a zero frequency to a predetermined frequency f_(BW), and the sampling frequency f_(S) is not less than a predetermined multiple of the predetermined frequency f_(BW). In some embodiments, the predetermined multiple is at least 2. In some embodiments, the predetermined multiple is 64, 128, or 256. In some embodiments, Class-D amplifier 100 is usable for processing human-audible audio signals. As such, the predetermined frequency f_(BW) ranges from 8 kHz to 20 kHz.

In some embodiments, ADC 110 is a continuous-time ADC. In some embodiments, ADC 110 is a continuous-time delta-sigma ADC. In some embodiments, ADC 110 is a discrete-time ADC.

In some embodiments in which ADC 110 is a discrete-time ADC, an additional anti-alias filter is disposed preceding ADC 110. In some embodiments, a continuous-time ADC has inherent anti-aliasing characteristics, and Class-D amplifier 100 implemented with the continuous-time ADC is suitable to be implemented without an additional anti-alias filter. Also, compared with a discrete-time ADC having a switched-capacitor implementation, using a continuous-time ADC further eliminates the noise-folding issue associated with the switched-capacitor implementation.

In a discrete-time ADC having a switched-capacitor implementation, the sampling clock frequency is limited by the operational amplifier settling requirements and to about 20% of the unity-gain frequency of the operational amplifiers. In some embodiments in a continuous-time ADC, the sampling clock frequency of a continuous-time ADC is limited by the regeneration time of the quantizer and the update rate of a feedback digital-to-analog converter (DAC) therein. Therefore, in some applications, a continuous-time ADC is suitable to operate with a higher sampling clock frequency (which is about 2-4 times greater) and thus achieve a greater signal bandwidth than a discrete-time ADC having a switched-capacitor implementation.

Class-D amplifier 100 further includes an analog power supply node 192 and an analog reference node (e.g., node 444 in FIG. 4). Analog power supply node 192 is configured to have an analog supply voltage level AVDD, and the analog reference node is configured to have an analog reference ground level. Analog power supply node 192 and the analog reference node define an analog power domain. ADC 110 is electrically coupled between analog power supply node 192 and the analog reference node and powered by the analog power domain.

Digital filter 120 includes an input port 122 and an output port 124. In some embodiments, input port 122 and output port 124 are also N-bit ports. Input port 122 is electrically coupled to output port 114 of ADC 110. Digital filter 120 is configured to generate a second digital signal (represented by a z-domain expression y(z)) at output port 124 based on first digital signal x(z). Digital filter 120 includes a loop filter 126 followed by a compensation filter 128. Loop filter 126 has a transfer function represented by a z-domain expression H(z) and is configured to have a high gain within a predetermined frequency band, such as from the zero frequency to the predetermined frequency f_(BW), and to move truncation errors of ADC 110 and other errors out of the predetermined frequency band. Compensation filter 128 has a transfer function represented by a z-domain expression D(z) and is configured to increase stability of an overall transfer function of the Class-D amplifier 100.

In some embodiments, the transfer function H(z) of loop filter 126 is first determined based on a design requirement regarding a magnitude or gain aspect of the transfer function of Class-D amplifier 100. Subsequently, the transfer function D(z) of compensation filter 128 is determined in order to introduce one or more poles or zeros to stabilize the transfer function of the Class-D amplifier 100. In some embodiments, loop filter 126 and compensation filter 128 refer to two separable circuit units in Class-D amplifier 100. In some embodiments, loop filter 126 and compensation filter 128 are conceptual units referring to the result of two designing steps, but are still implemented by an integrated circuit unit. In some embodiments, loop filter 126 and compensation filter 128 refer to a digital signal processing (DSP) unit executing a set of DSP instructions.

Digital PWM unit 130 has an input port 132, a first output node 134A, and a second output node 134B. Input port 132 of digital PWM unit 130 is coupled to output port 124 of digital filter 120 and is configured to receive the second digital signal y(z). Digital PWM unit 130 is further configured to generate a first PWM signal at output node 134A and a second PWM signal at output node 134B based on the second digital signal y(z). In some embodiments, the first PWM signal and the second PWM signal are logically complementary to each other. In some embodiments, only one of the first PWM signal and the second PWM signal is generated, and thus the corresponding output node 134A or 134B is omitted.

Class-D amplifier 100 further includes a digital power supply node 194 and a digital reference node (not shown). Digital power supply node 194 is configured to have a digital supply voltage level DVDD, and the digital reference node is configured to have a digital reference ground level. Digital power supply node 194 and the digital reference node define a digital power domain. Digital filter 120 and digital PWM unit 130 are electrically coupled between digital power supply node 194 and the digital reference node and powered by the digital power domain.

Class-D amplifier 100 also includes an interface power supply node 196 and an interface reference node 198. Interface power supply node 196 is configured to have an interface supply voltage level VBAT, and the interface reference node is configured to have an interface reference ground level GND. Interface power supply node 196 and the interface reference node 198 define an interface power domain. In some embodiments, interface supply voltage level VBAT is substantially a battery voltage level in class-D amplifier 100.

In some embodiments, the analog reference node, the digital reference node, and interface reference node 198 are configured to carry substantially the same voltage level. In some embodiments, the analog reference node, the digital reference node, and interface reference node 198 are electrically coupled with one another by one or more electrostatic discharge (ESD) protection circuits.

Pre-driver unit 140A has an input node 142A, a first output node 144A, and a second output node 146A. Input node 142A is coupled to PWM output node 134A. Pre-driver unit 140A is configured to generate a set of control signals at output nodes 144A and 146A based on the PWM signal from digital PWM unit 130 through input node 142A.

Class-D output driver 150A includes a first input node 152A, a second input node 154A, and an output node 156A. Input node 152A is coupled to output node 144A, and input node 154A is coupled to output node 146A. Class-D output driver 150A is configured to generate a first output signal V_(OUTN) at output node 156A based on the set of control signals on input nodes 152A and 154A.

Class-D output driver 150A further includes a P-type transistor 157A and an N-type transistor 157B. P-type transistor 157A has a source coupled to power supply node 196, a drain coupled to output node 156A, and a gate coupled to input node 152A. N-type transistor 158A has a source coupled to reference node 198, a drain coupled to output node 156A, and a gate coupled to input node 154A. In some embodiments, the set of control signals at output nodes 144A and 146A are configured to turn on one of transistors 157A and 158A according to the PWM signal at node 142A. Therefore, output signal V_(OUTN) is also a PWM signal switching between a high voltage level equal to interface supply voltage level VBAT and a low voltage level equal to interface reference ground level GND. In some embodiments, the set of control signals at output nodes 144A and 146A are generated in a manner that transistors 157A and 158A are not turned on at the same time.

Pre-driver unit 140B and Class-D output driver 150B are arranged and operated in a manner similar to pre-driver unit 140A and Class-D output driver 150A. The components in pre-driver unit 140B and Class-D output driver 150B that are the same or similar to those in pre-driver unit 140A and Class-D output driver 150A are given the same reference numbers, except the notation “A” is replaced with the notation “B.” Detailed description thereof is thus omitted. Moreover, Class-D output driver 150B is configured to generate a second output signal V_(OUTP) at output node 156B based on the set of control signals on input nodes 152B and 154B. Therefore, output signal V_(OUTP) is also a PWM signal switching between a high voltage level equal to interface supply voltage level VBAT and a low voltage level equal to interface reference ground level GND.

Output signals V_(OUTP) and V_(OUTN) are electrically coupled with load 180 and are usable to drive load 180. In some embodiments, load 180 includes a loudspeaker. In some embodiments, load 180 further includes a low-pass filter.

Feedback unit 160A includes a resistive network function as a voltage divider. Feedback unit 160A includes a feedback voltage node 162A, a first feedback resistive device 164A, and a second resistive device 166A. First feedback resistive device 164A is coupled between output node 156A and feedback voltage node 162A. Second feedback resistive device 166A is coupled between feedback voltage node 162A and interface reference node 198. Feedback unit 160A is configured to generate the inverted feedback signal V_(FBN) based on output signal V_(OUTN). In some embodiments, if resistive device 164A has a resistance value R₁, resistive device 166A has a resistance value R₂, a gain factor G is defined as: G=R ₂/(R ₁ +R ₂).

Therefore, inverted feedback signal V_(FBN) is a PWM signal switching between a high voltage level equal to G·VBAT and a low voltage level equal to interface reference ground level GND. In some embodiments, gain factor G is less than 1. In some embodiments, gain factor G ranges from 0.3 to 0.7. In some embodiments, gain factor G is 0.4.

Furthermore, a feedback path is defined as from output node 156A through feedback unit 160A and coupling resistive device 174A to input node 112A. In some embodiments, the feedback path is free from a low-pass filtering device that has a cutoff frequency lower than a sampling frequency f_(S) of the ADC. In some embodiments, other than the parasitic capacitance comes with the electrical features in the feedback path, there is no more capacitive devices, such as metal-oxide semiconductor (MOS) capacitors, metal-insulator-metal (MIM) capacitors, or capacitors external to the integrated circuit chip that contains Class-D amplifier 100, electrically coupled with the feedback path.

As a result, within a frequency band no greater than the sampling frequency f_(S), the feedback path only scales the output signal V_(OUTN) to a voltage level acceptable to ADC 110 by a resistive network without any additional analog circuit analysis or any additional areas for energy-storing capable devices, such as capacitive devices or inductive devices. The signal processing operations would be primarily performed in the digital domain, and the need for precise analog circuits is reduced or eliminated. The loop characteristics of Class-D amplifier 100 is primarily determined by digital filter 120, where the gain, poles, and zeros are suitable to be implemented by first, second, or higher order loops in the digital domain without the limitations of analog circuits, such as vulnerability to process variations, noise, and limited achievable gain. In some embodiments, the in-band loop gain of Class-D amplifier 100 is suitable to be made arbitrarily made high (e.g., >60 dB) to effectively suppress noises attributable to ADC 110 and digital PWM unit 130 and output driver non-linearities, and attain sufficient Power Supply Rejection (PSR).

Feedback unit 160B and coupling resistive device 174B are arranged and operated in a manner similar to feedback unit 160A and coupling resistive device 174A. The components in feedback unit 160B that are the same or similar to those in feedback unit 160A are given the same reference numbers, except the notation “A” is replaced with the notation “B.” Detailed description thereof is thus omitted.

Class-D amplifier 100 has a differential-mode configuration usable to process a pair of differential analog signals. Therefore, ADC 110 is configured to receive a pair of differential analog signals, such as non-inverted analog signal V_(INP) and inverted analog signal V_(INN), and output a pair of output signals V_(OUTP) and V_(OUTN). In some embodiments, Class-D amplifier 100 is modifiable to have a single-ended-mode configuration to process a single-ended analog signal. In such embodiments, ADC 110 is configured to receive a reference signal and an analog signal, such as one of the analog signals V_(INP) and V_(INN). Only one of the output signals V_(OUTP) and V_(OUTN) is generated, and the corresponding pre-driver unit 140A/140B, output driver 150A/150B, feedback unit 160A/160B, coupling resistive device 174A/174B, and/or coupling resistive device 172A/172B are omitted. As such, in some embodiments, load 180 is driven by the output signal and another reference signal.

FIG. 2 is a Z-domain block diagram 200 of a Class-D amplifier in accordance with some embodiments. Z-domain block diagram 200 illustrates various signals and transfer functions of various components in a Class-D amplifier, such as Class-D amplifier 100.

Z-domain block diagram 200 includes a first summation node 210, an ADC transfer function block 220, a loop filter transfer function block 230, a compensation filter transfer function block 240, a second summation node 210, and a feedback block 260.

Summation node 210 combines an input signal, having a z-domain expression In(z), and an inverted version of a feedback signal, having a z-domain expression Fb(z), and generates an error signal, having a z-domain expression e(z), accordingly. Input signal In(z) corresponds to the Z-domain expression of input signals V_(INP) and V_(INN). ADC transfer function block 220 corresponds to the operation of ADC 110 in FIG. 1, which converts error signal e(z) into a digital signal x(z). ADC transfer function block 220 introduces a quantization error q(z), which is further processed by a noise transfer function NTF(z). In other words, digital signal x(z) meets the following equation: x(z)=e(z)+q(z)NTF(z).

In some embodiments, NTF(z) meets the following equations: NTF(z)=(1−z ⁻¹)^(M), and M is a positive integer.

Loop filter transfer function block 230 corresponds to loop filter 126 and has a transfer function H(z). Compensation filter transfer function block 240 corresponds to compensation filter 128 and has a transfer function D(z). Loop filter transfer function block 230 and compensation filter transfer function block 240 convert digital signal x(z) into digital y(z), which meets the following equation: y(z)=x(z)H(z)D(z).

In some embodiments, H(z) meets the following equations:

${{H(z)} = {\frac{1}{1 - z^{- 1}}G_{1}}},$ and G₁ is a positive real number.

In some embodiments, D(z) has an equivalent Laplace transfer function D(s) that meets the following equations:

${{D(s)} = {\frac{s + z_{1}}{\left( {s + p_{1}} \right)\left( {s + p_{2}} \right)}G_{2}}},$ and G₂ is a positive real number, z₁ is a zero in the Laplace-domain, and p₁ and p₂ are poles in the Laplace-domain.

Summation node 250 combines digital signal y(z) and a PWM error signal P(z) to become output signal Out(z). PWM error signal P(z) corresponds the quantization error introduced by digital PWM unit 130 and/or other errors attributable to pre-driver units 140A/140B and Class-D output drivers 150A/150B. Output signal Out(z) corresponds to the Z-domain expression of output signals V_(OUTP) and V_(OUTN). Therefore, summation node 250 corresponds to digital PWM unit 130, pre-driver units 140A/140B, and Class-D output drivers 150A/150B.

Feedback block 260 has a gain factor G. Feedback block 260 corresponds to feedback units 160A/160B. In some embodiments, gain factor G corresponds to a ratio of a resistance value of resistive device 166A or 166B to a total resistance value of resistive device 164A and 166A, or 164B and 166B. For example, if resistive device 164A or 164B has a resistance value R₁, resistive device 166A or 166B has a resistance value R₂, the gain factor G meets the following equation: G=R ₂/(R ₁ +R ₂).

Therefore, the overall transfer function is:

${{Out}(z)} = {{\frac{{H(z)}{D(z)}}{1 + {{H(z)}{D(z)}G}}{{In}(z)}} + {\frac{{H(z)}{D(z)}}{1 + {{H(z)}{D(z)}G}}{q(z)}{{NTF}(z)}} + {\frac{1}{1 + {{H(z)}{D(z)}G}}{P(z)}}}$

FIG. 3 is a circuit diagram of a continuous-time delta-sigma ADC 300 usable in a Class-D amplifier, such as ADC 110 in Class-D amplifier 100, in accordance with some embodiments. ADC 300 includes a first integration stage 310, a second integration stage 320, coupling resistive devices 332 and 334 connecting integration stages 310 and 320, a quantizer 340 coupled to second integration stage 320, a first digital-to-analog converter DAC 350 coupled to first integration stage 310, and a second DAC 350 coupled to second integration stage 320. Furthermore, ADC 300 includes a first input node 372A, a second input node 372B, an output node 374, and a clock node 376. In some embodiments when ADC 300 is used as ADC 110 in FIG. 1, first input node 372A corresponds to node 112A, second input node 372B corresponds to node 112B, output node 374 corresponds to port 114, and clock node 376 corresponds to node 116.

First integration stage 310 includes an operational amplifier 312, a first capacitive device 314A, and a second capacitive device 314B. Operational amplifier 312 includes an inverted input node 316A, a non-inverted input node 316B, a non-inverted output node 318A, and an inverted output node 318B. First capacitive device 314A is coupled between input node 316A and output node 318A. Second capacitive device 314B is coupled between input node 316B and output node 318B. Input node 316A is coupled to node 372A, and input node 316B is coupled to node 372B.

Second integration stage 320 includes an operational amplifier 322, a third capacitive device 324A, and a fourth capacitive device 324B. Operational amplifier 322 includes an inverted input node 326A, a non-inverted input node 326B, a non-inverted output node 328A, and an inverted output node 328B. Third capacitive device 324A is coupled between input node 326A and output node 328A. Fourth capacitive device 324B is coupled between input node 326B and output node 328B. Input node 326A is coupled to node 318A through coupling resistive device 332, and input node 326B is coupled to node 318B through coupling resistive device 334.

Quantizer 340 includes an inverted input node 342A, a non-inverted input node 342B, and an output node 344. Input node 342A is coupled to output node 328A, and input node 342B is coupled to output node 328B. Output node 344 is coupled to output node 374. Quantizer 340 is a one-bit quantizer. In some embodiments, quantizer 340 includes a comparator. In some embodiments, quantizer 340 is a multiple-bit quantizer.

First DAC 350 is configured to generate a first set of feedback signals at input nodes 316A and 316B of first integration stage 310 based on the digital signal at output node 344. Second DAC 360 is configured to generate a second set of feedback signals at input nodes 326A and 326B of second integration stage 320 based on the digital signal at output node 344. In some embodiments, only one DAC is used to provide feedback signals to integration stages 310 and 320. In some embodiments, more than two DAC and a corresponding logic circuit is used to provide feedback signals to integration stages 310 and 320.

FIG. 4 is a circuit diagram of a digital-to-analog converter (DAC) 400 usable in a continuous-time delta-sigma ADC, such as such as DAC 350 or 360 in ADC 300, in accordance with some embodiments. DAC 400 is a current-steering type DAC and includes a biasing unit 410, a control unit 420, and a current cell 430 coupled to biasing unit 410 and control unit 420. DAC 400 further includes an analog power supply node 442, an analog reference node 444, an input node 452, and output nodes 454 and 456. In some embodiments, analog power supply node 442 corresponds to analog power supply node 192 in FIG. 1 and is configured to have analog supply voltage level AVDD, and analog reference node 444 is configured to have an analog reference ground level. DAC 400 is configured to provide output current signals to the corresponding integration stage, such as integration stage 310 or 310, through output nodes 454 and 456 responsive to a logical value at input node 452.

Biasing unit 410 includes an operation amplifier 412, P-type transistors 413 and 414, a biasing resistive device 415, and an N-type transistor 416. Operation amplifier 412 has an inverted input for receiving a reference voltage level V_(REF), a non-inverted input coupled to node 417, and an output coupled to node 418, which is coupled to a gate of P-type transistor 413. P-type transistor 413 is further coupled between node 442 and node 417, and biasing resistive device 415 is coupled between node 417 and node 444.

P-type transistor 414 is coupled between node 442 and node 419, and a gate of P-type transistor 414 is coupled to node 418. N-type transistor 416 is coupled between node 419 and node 444, and a gate and a drain of N-type transistor 416 are coupled to node 419.

Operation amplifier 412 is configured to set node 417 at a voltage level substantially the same as reference voltage level V_(REF). A reference current level I_(REF) is thus determined by the voltage level at node 417 and a resistance value of biasing resistive device 415. P-type transistor 413 is thus forced to have a source-to-drain current level equals the reference current level I_(REF), and a gate voltage of P-type transistor 413 (node 418) is thus determined according to the reference current level I_(REF). P-type transistor 413 and P-type transistor 414 are configured as a current mirror, and N-type transistor 416 is thus also forced to have a source-to-drain current level equals the reference current level I_(REF), and a gate voltage of N-type transistor 416 (node 419) is thus determined according to the reference current level I_(REF).

Control unit 420 includes a latch 422 and inverters 424 and 426. Latch 422 is coupled to input node 452 and is configured to receive and maintain a logical value from output node of the ADC circuit where the DAC 400 resides, such as the output from node 344. Latch 422 outputs a first pair of differential signals to inverters 424 and 426 and to current cell 430. Inverters 424 and 426 further generate a second pair of differential signals complementary to the first pair of differential signals to current cell 430. The first and second pairs of differential signals constitute a set of control signals for controlling the operation of current cell 430.

Current cell 430 includes a first current source 432, as second current source 434, and a set of switches 435, 436, 437, and 438. First current source 432 includes a P-type transistor having a source couple to node 442, a gate coupled to node 418, and a drain coupled to switches 435 and 436. First current source 432 and transistor 413 form a current mirror, and first current source 432 is thus set to have a source-to-drain current level determined according to the reference current level I_(REF). Second current source 434 includes an N-type transistor having a source couple to node 444, a gate coupled to node 419, and a drain coupled to switches 437 and 438. Second current source 434 and transistor 416 form a current mirror, and second current source 434 is thus set to have a source-to-drain current level determined according to the reference current level I_(REF).

Switches 435, 436, 437, and 438 are configured to selectively electrically couple first current source 432 or second current source 434 to first output node 454 or second output node 456 according to the set of control signals from control unit 420. As a result, first current source 432 is configured to inject a current to one of output nodes 454 and 456, and second current source 434 is configured to extract a current from the other one of output nodes 454 and 456.

FIG. 5 is a flow chart of a method 500 of operating a Class-D amplifier, such as Class-D amplifier 100, in accordance with some embodiments. It is understood that additional operations may be performed before, during, and/or after the method 500 depicted in FIG. 5, and that some other processes may only be briefly described herein.

As depicted in FIG. 1 and FIG. 5, the process 500 starts with operation 510, where a first digital signal x(z) is generated by an ADC 110 based on a first analog input signal V_(INP), a first feedback signal V_(FBN), a second analog input signal V_(INN), and a second feedback signal V_(FBP). The process 500 then proceeds to operation 520, where a second digital signal y(z) is generated by a digital filter 120 based on the first digital signal.

In some embodiments when Class-D amplifier 100 has a single-ended-mode configuration, first digital signal x(z) is generated based on first analog input signal V_(INP) and first feedback signal V_(FBN), and second analog input signal V_(INN) and a second feedback signal V_(FBP) are omitted.

The process 500 proceeds to operations 530A and 530B. In operation 530A, a first PWM signal is generated at node 134A based on the second digital signal y(z). In operation 530B, a second PWM signal is generated at node 134B based on the second digital signal y(z). Further, in operation 540A, a first set of control signals is generated by pre-driver unit 140A based on the first PWM signal. In operation 540B, a first set of control signals is generated by pre-driver unit 140B based on the second PWM signal.

The process 500 proceeds to operations 550A and 550B. In operation 550A, a first output signal V_(OUTN) is generated by output driver 150A based on the first set of control signals. In operation 550B, a second output signal V_(OUTP) is generated by output driver 150B based on the second set of control signals.

The process 500 then proceeds to operations 560A and 560B. In operation 560A, the first feedback signal V_(FBN) is generated based on scaling the first output signal V_(OUTN) by a predetermined ratio. In operation 560B, the second feedback signal V_(FBP) is generated based on scaling the second output signal V_(OUTP) by the predetermined ratio. In some embodiments, the predetermined ratio is determined by resistance values of resistive networks of feedback units 160A or 160B. Furthermore, in operation 570A, the first feedback signal V_(FBN) is coupled with ADC 110. In operation 570B, the second feedback signal V_(FBP) is coupled with ADC 110. Operations 560A, 560B, 570A, and 570B are performed without performing a low-pass filtering operation that has a cutoff frequency lower than a sampling frequency of the ADC 110.

In some embodiments when Class-D amplifier 100 has a single-ended-mode configuration, operations 530B, 540B, 550B, 560B, and 570B are omitted.

In some embodiments, a class-D amplifier includes an ADC configured to generate a first digital signal based on an analog input signal and a feedback signal received at an input node, a loop filter configured to modify the first digital signal by moving an error of the ADC out of a predetermined frequency band, a compensation filter configured to further modify the first digital signal by introducing one or more poles or zeros, thereby generating a second digital signal, and an output circuit configured to generate an output signal at an output node based on the second digital signal, wherein the feedback signal is generated from the output signal. In some embodiments, the error includes an ADC truncation error. In some embodiments, the predetermined frequency band ranges from a zero frequency to a predetermined frequency, and the ADC is configured to have a sampling clock frequency at least twice a value of the predetermined frequency. In some embodiments, the ADC includes a clock node configured to receive a clock signal having the sampling clock frequency. In some embodiments, the value of the predetermined frequency ranges from 8 kilohertz (kHz) to 20 kHz. In some embodiments, the loop filter has a transfer function given by

${{H(z)} = {\frac{1}{1 - z^{- 1}}G_{1}}},$ and G₁ is a positive real number. In some embodiments, the compensation filter has a transfer function given by

${{D(s)} = {\frac{s + z_{1}}{\left( {s + p_{1}} \right)\left( {s + p_{2}} \right)}G_{2}}},$ G₂ is a positive real number, z₁ is a zero in the Laplace-domain, and p₁ and p₂ are poles in the Laplace-domain. In some embodiments, the class-D amplifier includes a resistive network coupled between the output node and the input node, the resistive network configured to generate the feedback signal from the output signal based on a Z-domain gain factor having a constant value less than one. In some embodiments, the ADC is configured to output the first digital signal on a first single-node output port, the loop filter is configured to receive the first digital signal on a single-node input port, and the compensation filter is configured to output the second digital signal on a second single-node output port.

In some embodiments, a class-D amplifier includes an ADC including a non-inverted input node configured to receive a non-inverted analog input signal and an inverted feedback signal, an inverted input node configured to receive an inverted analog input signal and a non-inverted feedback signal, and an output port, wherein the ADC is configured to generate a first digital signal at the output port based on the non-inverted analog input signal, the inverted feedback signal, the inverted analog input signal, and the non-inverted feedback signal. The class-D amplifier includes a loop filter coupled to the output port and configured to modify the first digital signal by moving an error of the ADC out of a predetermined frequency band, a compensation filter configured to further modify the first digital signal by introducing one or more poles or zeros, thereby generating a second digital signal, and an output circuit configured to generate, based on the second digital signal, a first output signal at a first output node and a second output signal at a second output node, the inverted feedback signal is generated from the first output signal, and the non-inverted feedback signal is generated from the second output signal. In some embodiments, the error includes an ADC truncation error. In some embodiments, the output port includes a single-node output port. In some embodiments, the ADC includes a clock node configured to receive a clock signal having a sampling clock frequency, the predetermined frequency band ranges from a zero frequency to a predetermined frequency, and the sampling clock frequency is at least twice a value of the predetermined frequency. In some embodiments, the loop filter has a transfer function given by

${{H(z)} = {\frac{1}{1 - z^{{- 1}\;}}G_{1}}},$ the compensation filter has a transfer given by

${{D(s)} = {\frac{s + z_{1}}{\left( {s + p_{1}} \right)\left( {s + p_{2}} \right)}G_{2}}},$ G₁ is a positive real number, G₂ is a positive real number, z₁ is a zero in the Laplace-domain, and p₁ and p₂ are poles in the Laplace-domain. In some embodiments, the class-D amplifier includes a first resistive network coupled between the first output node and the non-inverted input node, the first resistive network configured to generate the inverted feedback signal from the first output signal based on a Z-domain gain factor having a constant value less than one, and a second resistive network coupled between the second output node and the inverted input node, the second resistive network configured to generate the non-inverted feedback signal from the second output signal based on the Z-domain gain factor.

In some embodiments, a method includes generating, by an ADC, a first digital signal based on an analog input signal and a feedback signal, generating a second digital signal from the first digital signal by moving, using a loop filter, an error of the ADC out of a predetermined frequency band, and introducing, using a compensation filter, one or more poles or zeros, generating, by a first Class-D output driver of a driver circuit, an output signal based on the second digital signal, and generating the feedback signal from the output signal. In some embodiments, moving the error of the ADC out of the predetermined frequency band includes moving a truncation error of the ADC out of the predetermined frequency band. In some embodiments, the analog input signal is an audio signal and moving the error of the ADC out of the predetermined frequency band includes moving the error of the ADC out of the predetermined frequency band based on an upper predetermined frequency value ranging from 8 kilohertz (kHz) to 20 kHz. In some embodiments, generating the feedback signal from the output signal includes using a resistive network coupled between an output node and an input node, the resistive network having a constant Z-domain gain value less than one. In some embodiments, generating the second digital signal from the first digital signal includes receiving the first digital signal on a single-node input port.

The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure. 

What is claimed is:
 1. A class-D amplifier comprising: an analog-to-digital converter (ADC) configured to generate a first digital signal based on an analog input signal and a feedback signal received at an input node; a loop filter configured to modify the first digital signal by moving an error of the ADC out of a predetermined frequency band; a compensation filter configured to further modify the first digital signal by introducing one or more poles or zeros, thereby generating a second digital signal; and an output circuit configured to generate an output signal at an output node based on the second digital signal, wherein the feedback signal is generated from the output signal.
 2. The class-D amplifier of claim 1, wherein the error comprises an ADC truncation error.
 3. The class-D amplifier of claim 1, wherein the predetermined frequency band ranges from a zero frequency to a predetermined frequency, and the ADC is configured to have a sampling clock frequency at least twice a value of the predetermined frequency.
 4. The class-D amplifier of claim 3, wherein the ADC comprises a clock node configured to receive a clock signal having the sampling clock frequency.
 5. The class-D amplifier of claim 3, wherein the value of the predetermined frequency ranges from 8 kilohertz (kHz) to 20 kHz.
 6. The class-D amplifier of claim 1, wherein the loop filter has a transfer function given by ${{H(z)} = {\frac{1}{1 - z^{- 1}}G_{1}}},$ and G₁ is a positive real number.
 7. The class-D amplifier of claim 1, wherein the compensation filter has a transfer function given by ${{D(s)} = {\frac{s + z_{1}}{\left( {s + p_{1}} \right)\left( {s + p_{2}} \right)}G_{2}}},$ G₂ is a positive real number, z₁ is a zero in the Laplace-domain, and p₁ and p₂ are poles in the Laplace-domain.
 8. The class-D amplifier of claim 1, further comprising a resistive network coupled between the output node and the input node, the resistive network configured to generate the feedback signal from the output signal based on a Z-domain gain factor having a constant value less than one.
 9. The class-D amplifier of claim 1, wherein the ADC is configured to output the first digital signal on a first single-node output port, the loop filter is configured to receive the first digital signal on a single-node input port, and the compensation filter is configured to output the second digital signal on a second single-node output port.
 10. A class-D amplifier comprising: an analog-to-digital converter (ADC) comprising: a non-inverted input node configured to receive a non-inverted analog input signal and an inverted feedback signal; an inverted input node configured to receive an inverted analog input signal and a non-inverted feedback signal; and an output port, wherein the ADC is configured to generate a first digital signal at the output port based on the non-inverted analog input signal, the inverted feedback signal, the inverted analog input signal, and the non-inverted feedback signal; a loop filter coupled to the output port and configured to modify the first digital signal by moving an error of the ADC out of a predetermined frequency band; a compensation filter configured to further modify the first digital signal by introducing one or more poles or zeros, thereby generating a second digital signal; and an output circuit configured to generate, based on the second digital signal, a first output signal at a first output node and a second output signal at a second output node, wherein the inverted feedback signal is generated from the first output signal, and the non-inverted feedback signal is generated from the second output signal.
 11. The class-D amplifier of claim 10, wherein the error comprises an ADC truncation error.
 12. The class-D amplifier of claim 10, wherein the output port comprises a single-node output port.
 13. The class-D amplifier of claim 1, wherein the ADC comprises a clock node configured to receive a clock signal having a sampling clock frequency, the predetermined frequency band ranges from a zero frequency to a predetermined frequency, and the sampling clock frequency is at least twice a value of the predetermined frequency.
 14. The class-D amplifier of claim 10, wherein the loop filter has a transfer function given by ${{H(z)} = {\frac{1}{1 - z^{- 1}}G_{1}}},$ the compensation filter has a transfer function given by ${{D(s)} = {\frac{s + z_{1}}{\left( {s + p_{1}} \right)\left( {s + p_{2}} \right)}G_{2}}},$ G₁ is a positive real number, G₂ is a positive real number, z₁ is a zero in the Laplace-domain, and p₁ and p₂ are poles in the Laplace-domain.
 15. The class-D amplifier of claim 10, further comprising: a first resistive network coupled between the first output node and the non-inverted input node, the first resistive network configured to generate the inverted feedback signal from the first output signal based on a Z-domain gain factor having a constant value less than one, and a second resistive network coupled between the second output node and the inverted input node, the second resistive network configured to generate the non-inverted feedback signal from the second output signal based on the Z-domain gain factor.
 16. A method, comprising: generating, by an analog-to-digital converter (ADC), a first digital signal based on an analog input signal and a feedback signal; generating a second digital signal from the first digital signal by moving, using a loop filter, an error of the ADC out of a predetermined frequency band, and introducing, using a compensation filter, one or more poles or zeros; generating, by a first Class-D output driver of a driver circuit, an output signal based on the second digital signal; and generating the feedback signal from the output signal.
 17. The method of claim 16, wherein the moving the error of the ADC out of the predetermined frequency band comprises moving a truncation error of the ADC out of the predetermined frequency band.
 18. The method of claim 16, wherein the analog input signal is an audio signal, and the moving the error of the ADC out of the predetermined frequency band comprises moving the error of the ADC out of the predetermined frequency band based on an upper predetermined frequency value ranging from 8 kilohertz (kHz) to 20 kHz.
 19. The method of claim 16, wherein the generating the feedback signal from the output signal comprises using a resistive network coupled between an output node and an input node, the resistive network having a constant Z-domain gain value less than one.
 20. The method of claim 16, wherein the generating the second digital signal from the first digital signal comprises receiving the first digital signal on a single-node input port. 